package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.base.mapper.voipmapper.ApiinfoesMapper;
import com.base.po.voip.Apiinfoes;
import com.base.po.voip.ApiinfoesExample;
import com.base.service.ApiinfoesService;
import org.springframework.stereotype.Service;

@Service("apiinfoesService")
public class ApiinfoesServiceImpl implements ApiinfoesService {
	@Autowired
	private ApiinfoesMapper apiinfoesMapper;

	@Override
	public int countByExample(ApiinfoesExample example) {
		return apiinfoesMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ApiinfoesExample example) {
		return apiinfoesMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return apiinfoesMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Apiinfoes record) {
		return apiinfoesMapper.insert(record);
	}

	@Override
	public int insertSelective(Apiinfoes record) {
		return apiinfoesMapper.insertSelective(record);
	}

	@Override
	public List<Apiinfoes> selectByExample(ApiinfoesExample example) {
		return apiinfoesMapper.selectByExample(example);
	}

	@Override
	public Apiinfoes selectByPrimaryKey(String id) {
		return apiinfoesMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(Apiinfoes record, ApiinfoesExample example) {
		return apiinfoesMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(Apiinfoes record, ApiinfoesExample example) {
		return apiinfoesMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(Apiinfoes record) {
		return apiinfoesMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Apiinfoes record) {
		return apiinfoesMapper.updateByPrimaryKey(record);
	}

}
